package com.hp.gxw.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hp.gxw.entity.SysUser;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author huangping
 * @since 2020-03-11
 */
public interface ISysUserService extends IService<SysUser> {

	List<SysUser> selectInfoList(Wrapper<SysUser> ew);

	SysUser selectInfoOne(Wrapper<SysUser> ew);

	IPage<SysUser> selectInfoPage(Page<SysUser> page, QueryWrapper<SysUser> ew, String dept, String role) throws Exception;

	void add(SysUser user) throws Exception;

	void edit(SysUser user) throws Exception;

	void deleteInfo(List<String> ids) throws Exception;

}